package store.lunangangster.nodeflow.common;

/**
 * 针对规则文件的一些常量
 *
 * @author cwk
 * @version 1.0
 */
public class BaseConstant {

	// ################ XML根标签名 ################
	public static final String NODES = "nodes";

	public static final String NODE = "node";

	public static final String CHAINS = "chains";

	public static final String CHAIN = "chain";

	// ################ 执行流 ################
	public static final String COMMON = "common";

	public static final String THEN = "then";

	public static final String WHEN = "when";

	public static final String IF = "if";

	public static final String ELSE = "else";

	public static final String FOR = "for";

	public static final String WHILE = "while";

	public static final String SWITCH = "switch";

	// ################ 属性名 ################
	public static final String ID = "id";

	public static final String CLASS = "class";

	public static final String VALUE = "value";

	public static final String ANY = "any";

	public static final String TRUE = "true";

	public static final String FALSE = "false";

	public static final String BODY = "body";

	public static final String EXIT = "exit";

	// ################ EL表达式 ################

	public static final String EL_THEN = "THEN";

	public static final String EL_WHEN = "WHEN";

	public static final String EL_IF = "IF";

	public static final String EL_ELSEIF = "ELSEIF";

	public static final String EL_ELSE = "ELSE";

	public static final String EL_FOR = "FOR";

	public static final String EL_WHILE = "WHILE";

	public static final String EL_DO = "DO";

	public static final String EL_EXIT = "EXIT";

	public static final String EL_SWITCH = "SWITCH";

	public static final String EL_TO = "TO";

	// ################ EL属性表达式 ################

	public static final String EL_ANY = "any";

	// ################ 项目变量 ################
	public static final String COMP_PACKAGE = "store.lunangangster.nodeflow.core.component";
}
